'use strict';
describe('Controller:FirstController',function(){
	beforeEach(module('sugarfreeApp.controllers'));
	
	var FirstCtrl,scope;
	beforeEach(inject(function($controller, $rootScope){
		scope = $rootScope.$new();
		FirstCtrl = $controller('FirstController',{$scope:scope});
		
		console.info('FirstCtrl',FirstCtrl);
		console.info('scope',scope.text);
		//console.info('result',FirstCtrl.testFn2(8));
	}));
	
	it('first test case', function () {
		expect(1).toBe(1);
		expect(FirstCtrl.testFn('0808')).toBe('0808');
		expect(FirstCtrl.testFn2(8)).toBe(999);
    	//expect(MainCtrl.awesomeThings.length).toBe(3);
  	});
});
